package com.sundi.ecsystem.service.impl;

import com.sundi.eccommon.dto.EcRoleDto;
import com.sundi.ecsystem.entity.EcRole;
import com.sundi.ecsystem.mapper.EcRoleMapper;
import com.sundi.ecsystem.service.IEcRoleService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Mht
 * @since 2020-02-25
 */
@Service
public class EcRoleServiceImpl extends ServiceImpl<EcRoleMapper, EcRole> implements IEcRoleService {

    @Override
    public List<EcRole> selectRoleList(EcRoleDto ecRoleDto) {
        return this.baseMapper.selectRoleList(ecRoleDto);
    }
}
